package org.eztouch.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("eztouch-sys-service")//使用@FeignClient("EZTOUCH-SYS-SERVICE")注解来绑定该接口对应EZTOUCH-SYS-SERVICE服务
public interface UserSerivce {
	
	@RequestMapping(value = "/userService/getUserById" ,method = RequestMethod.GET)
	public String getUserById(@RequestParam(value = "userId")  String userId);
	
	
}
